window.onload=function () {
    let showBt=document.getElementById('showBt');

    let detailed=document.getElementById('detailed');
    let detailedBox=document.getElementById('detailedBox');
    detailed.style.display='none';

    showBt.onclick=function () {
        if(detailed.style.display==='none'){
            detailed.style.display='block';
            showBt.style.display='none';
            detailedBox.style.display='block';
        }else{
            detailed.style.display='none';
            showBt.style.display='block';
        }
    }

    detailedBox.onclick=function () {
        if(detailed.style.display==='block'){
            detailed.style.display='none';
            detailedBox.style.display='none';
            showBt.style.display='block';
        }else{
            detailed.style.display='block';
            detailedBox.style.display='block';
        }
    }
}